package com.coco.common.result;

import lombok.Data;

import java.util.List;

/**
 * @author zhenzhen
 */
@Data
public class ResultData<T> {

    private List<T> rows;

    private long total;

    public ResultData(List<T> rows, long total) {
        this.rows = rows;
        this.total = total;
    }

}
